]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
calendar: Fix thinko
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 10 Mar 2015 20:06:53 +0000 (21:06 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 10 Mar 2015 20:10:14 +0000 (21:10 +0100)
Without an explicit index, messages should be added at the end of
the list.

https://bugzilla.gnome.org/show_bug.cgi?id=745988

js/ui/calendar.js

index b6f1cb157368532d9f201d795fd60f2af7b1e185..22c0c2c1302651e3b38a615cd4cd2f0b45f69e6a 100644 (file)
@@ -1289,7 +1289,7 @@ const MessageListSection = new Lang.Class({
     },
 
     addMessage: function(message, animate) {
-        this.addMessageAtIndex(message, 0, animate);
+        this.addMessageAtIndex(message, -1, animate);
     },
 
     addMessageAtIndex: function(message, index, animate) {